package com.xs.designpattern;

import lombok.extern.slf4j.Slf4j;

/**
 * 感动的偷取方法
 *
 * @author xs
 */
@Slf4j
public class SubtleMethod extends StealingMethod {
    @Override
    protected String pickTarget() {
        return "店主";
    }

    @Override
    protected void confuseTarget(String target) {
        log.info("泪流满面地走近 {} 并拥抱他!", target);
    }

    @Override
    protected void stealTheItem(String target) {
        log.info("密切接触时抓住 {} 的钱包.", target);
    }
}
